package cn.yj.relay.core.service;

import cn.yj.relay.core.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 永健
 * @since 2020-03-03 04:36
 */
public interface IAdminService extends IService<Admin> {
    Admin getUserByToken(String requestToken);

    Admin login(String name, String password, String token);
}
